package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 金相检验对象 nc_metallographic_analysis
 *
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcMetallographicAnalysis", description = "金相检验对象")
public class NcMetallographicAnalysis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 样品编号 */
    @Excel(name = "样品编号")
    @ApiModelProperty("样品编号")
    private String sampleNumber;

    /** 物料编号 */
    @Excel(name = "物料编号")
    @ApiModelProperty("物料编号")
    private String materialNumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 供应商 */
    @Excel(name = "供应商")
    @ApiModelProperty("供应商")
    private String supplier;

    /** 制备方法 */
    @Excel(name = "制备方法")
    @ApiModelProperty("制备方法")
    private String preparationMethod;

    /** 金相显微镜倍数 */
    @Excel(name = "金相显微镜倍数")
    @ApiModelProperty("金相显微镜倍数")
    private String magnification;

    /** 组织形态 */
    @Excel(name = "组织形态")
    @ApiModelProperty("组织形态")
    private String microstructure;

    /** 显微结构 */
    @Excel(name = "显微结构")
    @ApiModelProperty("显微结构")
    private String microscopicStructure;

    /** 晶粒尺寸 */
    @Excel(name = "晶粒尺寸")
    @ApiModelProperty("晶粒尺寸")
    private String grainSize;

    /** 硬度值 */
    @Excel(name = "硬度值")
    @ApiModelProperty("硬度值")
    private String hardnessValue;

    /** 镜面系数 */
    @Excel(name = "镜面系数")
    @ApiModelProperty("镜面系数")
    private String mirrorFactor;

    /** 腐蚀试验 */
    @Excel(name = "腐蚀试验")
    @ApiModelProperty("腐蚀试验")
    private String corrosionTest;

    /** 其他检测指标 */
    @Excel(name = "其他检测指标")
    @ApiModelProperty("其他检测指标")
    private String otherTestingIndicators;

    /** 检测人员 */
    @Excel(name = "检测人员")
    @ApiModelProperty("检测人员")
    private String tester;

    /** 检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("检测日期")
    private Date testDate;

    /** 标记 */
    @Excel(name = "标记")
    @ApiModelProperty("标记")
    private String flag;

    /** 审核人员 */
    @Excel(name = "审核人员")
    @ApiModelProperty("审核人员")
    private String auditor;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("审核日期")
    private Date auditDate;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setSampleNumber(String sampleNumber)
    {
        this.sampleNumber = sampleNumber;
    }

    public String getSampleNumber()
    {
        return sampleNumber;
    }
    public void setMaterialNumber(String materialNumber)
    {
        this.materialNumber = materialNumber;
    }

    public String getMaterialNumber()
    {
        return materialNumber;
    }
    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }
    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }

    public String getSupplier()
    {
        return supplier;
    }
    public void setPreparationMethod(String preparationMethod)
    {
        this.preparationMethod = preparationMethod;
    }

    public String getPreparationMethod()
    {
        return preparationMethod;
    }
    public void setMagnification(String magnification)
    {
        this.magnification = magnification;
    }

    public String getMagnification()
    {
        return magnification;
    }
    public void setMicrostructure(String microstructure)
    {
        this.microstructure = microstructure;
    }

    public String getMicrostructure()
    {
        return microstructure;
    }
    public void setMicroscopicStructure(String microscopicStructure)
    {
        this.microscopicStructure = microscopicStructure;
    }

    public String getMicroscopicStructure()
    {
        return microscopicStructure;
    }
    public void setGrainSize(String grainSize)
    {
        this.grainSize = grainSize;
    }

    public String getGrainSize()
    {
        return grainSize;
    }
    public void setHardnessValue(String hardnessValue)
    {
        this.hardnessValue = hardnessValue;
    }

    public String getHardnessValue()
    {
        return hardnessValue;
    }
    public void setMirrorFactor(String mirrorFactor)
    {
        this.mirrorFactor = mirrorFactor;
    }

    public String getMirrorFactor()
    {
        return mirrorFactor;
    }
    public void setCorrosionTest(String corrosionTest)
    {
        this.corrosionTest = corrosionTest;
    }

    public String getCorrosionTest()
    {
        return corrosionTest;
    }
    public void setOtherTestingIndicators(String otherTestingIndicators)
    {
        this.otherTestingIndicators = otherTestingIndicators;
    }

    public String getOtherTestingIndicators()
    {
        return otherTestingIndicators;
    }
    public void setTester(String tester)
    {
        this.tester = tester;
    }

    public String getTester()
    {
        return tester;
    }
    public void setTestDate(Date testDate)
    {
        this.testDate = testDate;
    }

    public Date getTestDate()
    {
        return testDate;
    }
    public void setFlag(String flag)
    {
        this.flag = flag;
    }

    public String getFlag()
    {
        return flag;
    }
    public void setAuditor(String auditor)
    {
        this.auditor = auditor;
    }

    public String getAuditor()
    {
        return auditor;
    }
    public void setAuditDate(Date auditDate)
    {
        this.auditDate = auditDate;
    }

    public Date getAuditDate()
    {
        return auditDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("sampleNumber", getSampleNumber())
            .append("materialNumber", getMaterialNumber())
            .append("materialName", getMaterialName())
            .append("supplier", getSupplier())
            .append("preparationMethod", getPreparationMethod())
            .append("magnification", getMagnification())
            .append("microstructure", getMicrostructure())
            .append("microscopicStructure", getMicroscopicStructure())
            .append("grainSize", getGrainSize())
            .append("hardnessValue", getHardnessValue())
            .append("mirrorFactor", getMirrorFactor())
            .append("corrosionTest", getCorrosionTest())
            .append("otherTestingIndicators", getOtherTestingIndicators())
            .append("tester", getTester())
            .append("testDate", getTestDate())
            .append("flag", getFlag())
            .append("auditor", getAuditor())
            .append("auditDate", getAuditDate())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
